//
//  MainView.swift
//  MacStudy
//
//  Created by 30san on 2020/11/18.
//  Copyright © 2020 Dawninest. All rights reserved.
//

import Cocoa

class MainView: NSView {

    override func draw(_ dirtyRect: NSRect) {
        super.draw(dirtyRect)

        // Drawing code here.
    }
    
    /// 原本坐标原点在左下角，强制修改为左上角
    override var isFlipped: Bool {
        return true
    }
}
